<?php

return [
    'menu' => [
        'shop' => [
            'name' => '商家管理',
            'ico' => '&#xe726;',
            'sub' => [
                'users' => ['name' => '客户管理', 'uri' => '/shop/users', 'show' => true, 'method' => 'get'],  //index 方法名
                'businesslog' => ['name' => '商家收益记录', 'uri' => '/shop/businesslog', 'show' => false, 'method' => 'get'],  //index 方法名
                'shoplist_edit' => ['name' => '添加、编辑商户', 'uri' => '/shop/shoplist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist' => ['name' => '商品列表', 'uri' => '/shop/goodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'goodslist_edit' => ['name' => '添加、编辑项目', 'uri' => '/shop/goodslist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist_del' => ['name' => '删除商品', 'uri' => '/shop/goodslist_del', 'show' => false, 'method' => 'get|post'],
                'goodsspec_del' => ['name' => '删除商品规格', 'uri' => '/shop/goodsspec_del', 'show' => false, 'method' => 'get|post'],
                'widtraw' => ['name' => '申请提现', 'uri' => '/shop/widtraw', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'widtrawstr' => ['name' => '取消提现', 'uri' => '/shop/widtrawstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'widtrawlog' => ['name' => '提现记录', 'uri' => '/shop/widtrawlog', 'show' => false, 'method' => 'get|post'],
                'systemgoodslist' => ['name' => '系统商品库', 'uri' => '/shop/systemgoodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'systemgoodslist_edit' => ['name' => '系统商品库', 'uri' => '/shop/systemgoodslist_edit', 'show' => false, 'method' => 'get'],  //index 方法名
                'system_daoru' => ['name' => '单个导入商品', 'uri' => '/shop/system_daoru', 'show' => false, 'method' => 'post'],  //index 方法名
                'system_daoru2' => ['name' => '全部导入商品', 'uri' => '/shop/system_daoru2', 'show' => false, 'method' => 'post'],  //index 方法名
            ],
            'show' => true,
        ],
        'order' => [
            'name' => '订单管理',
            'ico' => '&#xe726;',
            'sub' => [
                'order' => ['name' => '交易订单', 'uri' => '/order/order', 'show' => true, 'method' => 'get'],  //index 方法名
                'order1' => ['name' => '售后订单', 'uri' => '/order/order1', 'show' => true, 'method' => 'get'],  //index 方法名
                'orderdetail' => ['name' => '订单详情', 'uri' => '/order/orderdetail', 'show' => false, 'method' => 'get|post'],
                'order_str' => ['name' => '订单取消、确认、售后操作', 'uri' => '/order/order_str', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
    ]
];